.variable-textarea {
  width: 100%;
  height: 100%;
}

.variable-textarea .cm-editor {
  height: 100%;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.variable-textarea .cm-scroller {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.variable-textarea .cm-content {
  padding: 8px;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
}

.variable-textarea .cm-line {
  padding: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
}

.variable-textarea .cm-variable {
  color: #0366d6;
  background-color: #f1f8ff;
  padding: 0 2px;
  border-radius: 3px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
} 